#pragma once
#include<rofrm>

using namespace stdrand;

class MainForm: public Form
{
	typedef MainForm This;
public:
	//!decl
	PaintBox paintBox;
	Button startBtn;
	Panel diode,panel1;
	Label label2;
	Edit stepVal;
	PlotXY plotXY1;
	//!end
	MainForm() {
		initialize();
	}
	void BeforeStart();
private:
	void DoOnDraw(NotifyArgs &e);
	void OnStartBtnClick(NotifyArgs &e);
	void initialize() ;
};

extern
  MainForm *mainForm;
